package br.ufms.facom;


import java.util.Timer;
import java.util.TimerTask;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;

public class Splash extends Activity{

        @Override
        protected void onCreate (Bundle bundle)
        {
                super.onCreate (bundle);
                setContentView(R.layout.splash_activity);
                new Timer ().schedule (new TimerTask ()
                {
                        @Override
                        public void run ()
                        {                                
                                       startActivity(new Intent(Splash.this, Main.class));
                        }
                }, 3000);        }
        @Override
        protected void onRestart ()
        {
                super.onRestart ();
                finish ();
        }

}
